#include <iostream>
#include <cstdio>
using namespace std;

int main()
{
    //向标准输出进行打印
    //stdout  cin ->1
    cout << "hello cout" << endl;
    printf("hello printf\n");

    //向标准错误进行打印
    //stderr  cerr ->2 显示器
    cerr << "mihayou cerr" << endl;
    fprintf(stderr,"mihayou error\n");
    return 0;
}
